.bg{
  width: 100%;
  height: 400rpx;
  background-image: url(http://8.131.91.46:6677/TomAndJerry.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}